BMI\Plugin\Backup_Migration_Plugin D

Total Complexity 444
Dependencies 15
Dependents 18
Total lines 1,758
Lines of code 1,285
Logical lines of code 1,011
Comment lines 113
Methods 50
Properties 0

Methods 50

Method Rating Maintainability Complexity Lines of code
handle_downloading()
D
4
131 300
initialize()
D
29
40 101
handle_cron_backup()
C
33 28 83
ajax()
B
40 23 50
execution_shutdown()
B
39 20 56
hotfix_patches()
B
40 19 54
handle_after_cron()
A
41 13 50
handleErrorDuringBackup()
A
49 10 28
sanitize()
A
52 10 23
handle_cron_check()
A
52 8 23
getAvailableMemoryInBytes()
A
55 8 18
fixLitespeed()
S
49 7 30
extend_execution_time()
S
60 8 12
handle_cron_error()
S
52 7 21
phpSizeToB()
S
57 7 16
send_notification_mail()
S
50 6 27
revertLitespeed()
S
52 6 23
backup_inproper_time()
S
52 6 20
getRetryAfterIfAvailable()
S
54 6 20
get_active_security_plugins()
S
59 6 14
enqueue_scripts()
S
52 5 22
incompatibility_notices()
S
57 5 16
handleErrorDuringRestore()
S
57 5 15
handle_after_actions()
S
58 4 15
getDefaultDisabledPaths()
S
45 2 43
readFileSensitive()
S
54 3 19
getRecentSize()
S
57 3 16
fixSlashes()
S
62 4 10
humanSize()
S
65 4 7
admin_notices()
S
61 3 12
escapeSensitive()
S
55 2 18
isFunctionEnabled()
S
68 3 6
res()
S
64 3 9
include_offline()
S
67 3 8
handle_crons()
S
65 3 8
enqueue_styles()
S
68 3 5
get_next_cron()
S
60 2 13
randomString()
S
63 2 11
settings_page()
S
69 2 6
backupbliss_space_issues()
S
65 2 9
merge_arrays()
S
72 2 5
admin_init_hook()
S
67 2 8
get_asset()
S
79 1 3
email_error()
S
75 1 4
canShareLogsOrShouldAsk()
S
81 1 3
submenu()
S
67 1 7
settings_action()
S
71 1 5
deactivation()
S
76 1 4
getMaxUploadSize()
S
71 1 5
set_last_cron()
S
74 1 4